package com.hut.bms.mapper;

import com.hut.bms.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserInfoMapper {
    @Select("select id, password, delete_flag, create_time, update_time " +
            "from user_info where user_name = #{userName}")
    UserInfo selectByUserName(String userName);
}
